package com.zhentao.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhentao.domain.SysActivityRecord;
import com.zhentao.domain.dto.PageDto;
import com.zhentao.service.SysActivityRecordService;
import com.zhentao.mapper.SysActivityRecordMapper;
import org.springframework.stereotype.Service;

/**
* @author 86188
* @description 针对表【sys_activity_record】的数据库操作Service实现
* @createDate 2024-09-09 19:49:54
*/
@Service
public class SysActivityRecordServiceImpl extends ServiceImpl<SysActivityRecordMapper, SysActivityRecord>
    implements SysActivityRecordService{
    //用户活动领取记录列表
    @Override
    public Page<SysActivityRecord> queryActivityRecordByPage(PageDto pageDto) {
        Page<SysActivityRecord> page = new Page<>(pageDto.getPage(), pageDto.getSize());
        this.page(page);
        return page;
    }
}




